﻿
namespace Patterns4Net.ArchitectureExplorer.Diagram.Relations
{
    using Patterns4Net.Attributes.Relations;

    public class Inheritance : Relation
    {
        public Inheritance(
            DiagramElement source, 
            DiagramElement target, 
            string name = "")
            : base(source, target, Cardinality.None, name)
        {
        }

        public override object SourceArrow
        {
            get { return new InheritanceArrow(); }
        }

        public override object  TargetArrow
        {
            get { return new InheritanceArrow(); }
        }

        public override bool CanBeMerged
        {
            get { return false; }
        }
    }

    public class InheritanceArrow
    {        
    }
}
